<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 <modelVersion>4.0.0</modelVersion>
 <parent>
  <artifactId>jsr330activator</artifactId>
  <groupId>no.steria.osgi.jsr330activator</groupId>
  <version>1.1.1-SNAPSHOT</version>
 </parent>
 <artifactId>jsr330activator.tests</artifactId>
 <properties>
  <pax.exam.version>4.2.0</pax.exam.version>
  <pax.url.version>2.1.0</pax.url.version>
  <logback.version>1.2.0</logback.version>
  <slf4j.version>1.7.4</slf4j.version>
 </properties>

 <dependencies>
  <dependency>
   <groupId>org.ops4j.pax.exam</groupId>
   <artifactId>pax-exam-invoker-junit</artifactId>
   <version>${pax.exam.version}</version>
   <scope>test</scope>
  </dependency>

  <dependency>
   <groupId>org.ops4j.pax.exam</groupId>
   <artifactId>pax-exam-junit4</artifactId>
   <version>${pax.exam.version}</version>
   <scope>test</scope>
  </dependency>

  <dependency>
   <groupId>org.ops4j.pax.exam</groupId>
   <artifactId>pax-exam-link-mvn</artifactId>
   <version>${pax.exam.version}</version>
   <scope>test</scope>
  </dependency>

  <dependency>
   <groupId>org.ops4j.pax.exam</groupId>
   <artifactId>pax-exam-inject</artifactId>
   <version>${pax.exam.version}</version>
   <scope>test</scope>
  </dependency>

  <dependency>
   <groupId>org.ops4j.pax.exam</groupId>
   <artifactId>pax-exam-extender-service</artifactId>
   <version>${pax.exam.version}</version>
   <scope>test</scope>
  </dependency>

  <dependency>
   <groupId>org.ops4j.base</groupId>
   <artifactId>ops4j-base</artifactId>
   <version>1.4.0</version>
   <scope>test</scope>
  </dependency>

  <dependency>
   <groupId>org.slf4j</groupId>
   <artifactId>slf4j-api</artifactId>
   <version>1.7.2</version>
   <scope>test</scope>
  </dependency>

  <dependency>
   <groupId>org.ops4j.pax.tipi</groupId>
   <artifactId>org.ops4j.pax.tipi.junit</artifactId>
   <version>4.11.0.1</version>
   <scope>test</scope>
  </dependency>

  <dependency>
   <groupId>ch.qos.logback</groupId>
   <artifactId>logback-core</artifactId>
   <version>${logback.version}</version>
   <scope>test</scope>
  </dependency>

  <dependency>
   <groupId>ch.qos.logback</groupId>
   <artifactId>logback-classic</artifactId>
   <version>${logback.version}</version>
   <scope>test</scope>
  </dependency>

  <dependency>
   <groupId>org.apache.geronimo.specs</groupId>
   <artifactId>geronimo-atinject_1.0_spec</artifactId>
   <version>1.0</version>
   <scope>provided</scope>
  </dependency>

  <dependency>
   <groupId>org.osgi</groupId>
   <artifactId>org.osgi.core</artifactId>
   <version>4.3.1</version>
   <scope>provided</scope>
  </dependency>

  <dependency>
   <groupId>org.osgi</groupId>
   <artifactId>org.osgi.compendium</artifactId>
   <version>4.3.1</version>
   <scope>provided</scope>
  </dependency>

  <dependency>
   <groupId>no.steria.osgi.jsr330activator</groupId>
   <artifactId>jsr330activator.testbundle1</artifactId>
   <version>${project.version}</version>
   <scope>test</scope>
  </dependency>
  <dependency>
   <groupId>no.steria.osgi.jsr330activator</groupId>
   <artifactId>jsr330activator.implementation</artifactId>
   <version>${project.version}</version>
   <scope>test</scope>
  </dependency>
  <dependency>
   <groupId>no.steria.osgi.jsr330activator</groupId>
   <artifactId>jsr330activator.testbundle2</artifactId>
   <version>${project.version}</version>
   <scope>test</scope>
  </dependency>
  <dependency>
   <groupId>no.steria.osgi.jsr330activator</groupId>
   <artifactId>jsr330activator.testbundle3</artifactId>
   <version>${project.version}</version>
   <scope>test</scope>
  </dependency>
  <dependency>
   <groupId>no.steria.osgi.jsr330activator</groupId>
   <artifactId>jsr330activator.testbundle4</artifactId>
   <version>${project.version}</version>
   <scope>test</scope>
  </dependency>
  <dependency>
   <groupId>no.steria.osgi.jsr330activator</groupId>
   <artifactId>jsr330activator.testbundle5</artifactId>
   <version>${project.version}</version>
   <scope>test</scope>
  </dependency>
  <dependency>
   <groupId>no.steria.osgi.jsr330activator</groupId>
   <artifactId>jsr330activator.testbundle6</artifactId>
   <version>${project.version}</version>
   <scope>test</scope>
  </dependency>
  <dependency>
   <groupId>no.steria.osgi.jsr330activator</groupId>
   <artifactId>jsr330activator.testbundle7</artifactId>
   <version>${project.version}</version>
   <scope>test</scope>
  </dependency>
  <dependency>
   <groupId>no.steria.osgi.jsr330activator</groupId>
   <artifactId>jsr330activator.testbundle8</artifactId>
   <version>${project.version}</version>
   <scope>test</scope>
  </dependency>
  <dependency>
   <groupId>no.steria.osgi.jsr330activator</groupId>
   <artifactId>jsr330activator.testbundle9</artifactId>
   <version>${project.version}</version>
   <scope>test</scope>
  </dependency>
 </dependencies>

 <profiles>
  <profile>
   <id>felix</id>
   <activation>
   </activation>
   <properties>
    <pax.exam.framework>felix</pax.exam.framework>
   </properties>
   <dependencies>
    <dependency>
     <groupId>org.apache.felix</groupId>
     <artifactId>org.apache.felix.framework</artifactId>
     <version>4.0.2</version>
     <scope>test</scope>
    </dependency>
   </dependencies>
  </profile>
  <profile>
   <id>equinox</id>
   <activation>
    <activeByDefault>true</activeByDefault>
   </activation>
   <properties>
    <pax.exam.framework>equinox</pax.exam.framework>
   </properties>
   <dependencies>
    <dependency>
     <groupId>org.eclipse.tycho</groupId>
     <artifactId>org.eclipse.osgi</artifactId>
     <version>3.7.0.v20110613</version>
     <scope>test</scope>
    </dependency>
   </dependencies>
  </profile>
  <profile>
   <id>knopflerfish</id>
   <activation>
   </activation>
   <properties>
    <pax.exam.framework>knopflerfish</pax.exam.framework>
   </properties>
   <repositories>
    <repository>
     <id>knopflerfish-releases</id>
     <url>http://www.knopflerfish.org/maven2</url>
    </repository>
   </repositories>
   <dependencies>
    <dependency>
     <groupId>org.knopflerfish</groupId>
     <artifactId>framework</artifactId>
     <version>6.0.4</version>
     <scope>test</scope>
    </dependency>
   </dependencies>
  </profile>

  <profile>
   <id>native</id>
   <activation>
    <activeByDefault>true</activeByDefault>
   </activation>
   <properties>
    <pax.exam.container>native</pax.exam.container>
   </properties>
   <dependencies>
    <dependency>
     <groupId>org.ops4j.pax.exam</groupId>
     <artifactId>pax-exam-container-native</artifactId>
     <version>${pax.exam.version}</version>
     <scope>test</scope>
    </dependency>
   </dependencies>
  </profile>
  <profile>
   <id>forked</id>
   <activation>
   </activation>
   <properties>
    <pax.exam.container>forked</pax.exam.container>
   </properties>
   <dependencies>
    <dependency>
     <groupId>org.ops4j.pax.exam</groupId>
     <artifactId>pax-exam-container-forked</artifactId>
     <version>${pax.exam.version}</version>
     <scope>test</scope>
    </dependency>

    <dependency>
     <groupId>org.ops4j.pax.url</groupId>
     <artifactId>pax-url-reference</artifactId>
     <version>${pax.url.version}</version>
    </dependency>

   </dependencies>
  </profile>

 </profiles>


 <build>
  <testResources>
   <testResource>
    <directory>src/test/resources</directory>
    <filtering>true</filtering>
   </testResource>
  </testResources>
  <plugins>
   <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.1</version>
    <configuration>
     <source>1.7</source>
     <target>1.7</target>
    </configuration>
   </plugin>
  </plugins>
 </build>
</project>
